CUR_ROOT    := $(shell pwd)
SDK_ROOT    ?= $(CUR_ROOT)/../../../
include $(SDK_ROOT)/build/base.mak

.PHONY : all clean

all:
ifeq ($(CONFIG_WIFI_BCM6255),y)
	@if [ -d sdio_ap6255 ];then cd sdio_ap6255; make;fi
endif
ifeq ($(CONFIG_WIFI_BCM6356S),y)
	@if [ -d sdio_ap6356s ];then cd sdio_ap6356s; make;fi
endif
ifeq ($(CONFIG_WIFI_BCM6214A),y)
	@if [ -d sdio_ap6214a ];then cd sdio_ap6214a; make;fi
endif

ifeq ($(CONFIG_WIFI_RTL8189),y)
	@if [ -d sdio_rtl8189ftv ];then cd sdio_rtl8189ftv; make;fi
endif

clean:
	@if [ -d sdio_ap6255 ];then cd sdio_ap6255;  make clean;fi
	@if [ -d sdio_ap6356s ];then cd sdio_ap6356s; make clean;fi
	@if [ -d sdio_rtl8189ftv ];then cd sdio_rtl8189ftv; make clean;fi

